//package com.hisense.ncc.opm;
//
//import nccloud.open.api.auto.token.cur.utils.APICurUtils;
//import nccloud.open.api.auto.token.itf.IAPIUtils;
//
//
///**
// * 1.从resources/config.properties中读取测试api相关的数据 2.运行程序，测试查看测试结果
// *
// * @author lizhmf
// * @date 2019年6月20日上午10:53:11
// */
//public class Test {
//
//
//    public static void main(String[] args) {
//        try {
//        	IAPIUtils util = null;
//        	util = new APICurUtils();
//        	util.init("127.0.0.1", "8001", "01", "mingyuan", "decaacd6cf324f96baf2",
//        			"MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAznBmtLsU9SbuHy36lZwQtPS76HBEV5jFEyujfggvK7RA75x0d602/zRKvXD94o0jWWN+OUykbsv1SL+RXcSuhXHONdCCt9Z8DPJK5al86jX74fVWD8vaqa3t/K0i039DSH4Ig7p4IKCHXZ5rHMDl0gW2Iq4VVGeBTMDZEIkir5O071L08XIF6HHn6HAF9oS+MFAk3e6QYWZLtgbDx/WfgXpfuh1GhSdinwUjGpNUMom71jhg4Jmp67L7EfP2Lpe1EFHSih1+4BWme59WcSC6KJLcwRNW/DV6cKFm5qNIdBERLhWnnxaMC3ncV3o00phI0Q9/jq1slTo6oGhHIzz7bwIDAQAB",
//        			"tang", "123qwe");
//        	String token = util.getToken();
//        	System.out.println(token);
//        	util.setApiUrl("nccloud/api/sscrp/statement/marketcollection/add");
////        	util.setApiUrl("nccloud/api/sscrp/statement/rightchange/add");
////        	util.setApiUrl("nccloud/api/sscrp/statement/housechange/add");
////        	util.setApiUrl("nccloud/api/sscrp/statement/solutefinance/add");
////        	util.setApiUrl("nccloud/api/sscrp/statement/marketrefund/add");
//        	String result = util.getAPIRetrun(token,
//        			// 权益人变更
////        			"[{\"head\":{\"amount\":120.00,\"billmakerCode\":\"wangwenli\",\"approverCode\":\"wangwenli\",\"projectCode\":\"H1010101171\",\"projectGuid\":\"8087a636-66e7-4e80-af73-803bb8edffe4\",\"house\":\"QDDSF-DXCW-A03\",\"businessType\":\"住宅\",\"houseOwnerBefore\":\"107030101\",\"houseOwnerAfter\":\"03010529\",\"changeDate\":\"2017-02-11 12:23:12\"},\"body\":[{\"kxmc\":\"换房\",\"amount\":120}]}]"
//        			// 换房
////        			"[{\"head\":{\"amount\":120.00,\"billmakerCode\":\"wangwenli\",\"approverCode\":\"wangwenli\",\"projectCode\":\"H101010117\",\"house\":\"QDDSF-DXCW-A03\",\"businessType\":\"住宅\",\"originHouse\":\"QDDSF-DXCW-A05\",\"houseOwner\":\"102\"},\"body\":[{\"kxmc\":\"测试款项\",\"amount\":120}]}]"
//        			// 解筹
////        			"[{\"head\":{\"amount\":120.00,\"billmakerCode\":\"wangwenli\",\"approverCode\":\"wangwenli\",\"projectCode\":\"H101010117\",\"house\":\"QDDSF-DXCW-A03\",\"businessType\":\"住宅\",\"sjjkr\":\"张三\"},\"body\":[{\"kxmc\":\"测试款项\",\"amount\":120}]}]"
//        			// 营销退款单
//        			"[{\"attachments\":[\"http://123.234.345.456/asdasd/ew\"],\"head\":{\"billmakerCode\":\"wangwenli\",\"approverCode\":\"wangwenli\"},\"body\":[{\"projectCode\":\"H101010117\",\"houseOwner\":\"372401198110300523\",\"payType\":\"支付宝\",\"VoucherGUID\":\"ecfef767-3451-4bdb-46a9-08d9b8fbc09e\",\"ProjGUID\":\"18a48a0c-37e3-e911-977c-f0921c078843\",\"ProjName\":\"即墨创智岛-盟旺世家二期\",\"HsProjID\":\"89a16e2d-f878-48e5-bb57-a8fc2ef6cd5c\",\"ProdGUID\":\"b9155bce-0a0c-ea11-977c-f0921c078843\",\"ProdName\":\"住宅-高层-小高层\",\"HsProdID\":\"029E2175F9914D1EAEE7D2A383C03E3F\",\"RoomInfo\":\"即墨创智岛-盟旺世家二期-14号楼-2-0802\",\"RoomGUID\":\"b969c234-1c7c-eb11-a547-f0921c078843\",\"RoomStatus\":\"\",\"CustomerName\":\"\",\"VouchType\":\"收款单\",\"Kpr\":\"于琨\",\"Shr\":\"于琨\",\"Jkr\":\"杨顺刚；杨娟\",\"SkDate\":\"2021-12-07 00:00:00\",\"KpDate\":\"2021-12-07 00:00:00\",\"InvoNO\":\"HXMW2Q000003\",\"Remark\":\"\",\"ReferenceCode\":null,\"GetInList\":[{\"GetinGUID\":\"2c3562fc-cff7-4086-0cc6-08d9b8fbc09e\",\"ItemType\":\"非贷款类房款\",\"ItemName\":\"首期\",\"RmbAmount\":382295.00,\"RzBankNum\":null}]}]}]"
//
//        			);
//
//        	System.out.println(result);
//        } catch (Exception e) {
//            e.printStackTrace();
//        }
//    }
//}
//
//
//